Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODFrame


ChangeUsedShape

The ChangeUsedShape method assigns a used shape to this frame.

void ChangeUsedShape (in ODShape shape, 
                      in ODCanvas biasCanvas);
shape
A reference to a used shape to assign to this frame, expressed in frame coordinates, or kODNULL if the used shape is the same as the frame shape.
biasCanvas
kODNULL if the geometry is in platform-normal coordinates, otherwise a reference to the canvas object to whose coordinate space the geometry is biased.
DISCUSSION
Your part assigns a used shape to its display frame by calling the frame's ChangeUsedShape method. This method in turn calls the UsedShapeChanged method of the display frame's containing part to notify the containing part that its used shape has changed.

SEE ALSO
The ODFrame::AcquireUsedShape method (page 304).
The ODPart::UsedShapeChanged method (page 550).
Listing 2-19 on page 71 in OpenDoc Cookbook.
"Used Shape" on page 146 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help